Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix missing web content for simulator #1544

Merged
merged 1 commit into from
May 23, 2023
Merged

Fix missing web content for simulator #1544

merged 1 commit into from
May 23, 2023

Conversation

corollaries
Copy link
Contributor

Running pymodbus.simulator after installing pymodbus via pypi results in exceptions that certain files were not found.
Specifically the simulator/web/generator/* files. Upon further inspection it seems that these files are not packaged in the actual wheel, the simulator fails to start without these files.

Added the needed files for the simulator to setup.py to ensure that they're installed in the wheel. Verified locally that this works.

Copy link
Collaborator

@janiversen janiversen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Thanks.

@janiversen janiversen merged commit d347bc8 into pymodbus-dev:dev May 23, 2023
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jun 3, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants